﻿/**************************************************
* 版权所有:Copyright (C) 
* 作    者:蔡海翔
* 创建日期:2014/6/16 13:59:41
* 描    述:菜单实体类
* 修改日期:
* 修改内容:
****************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DataEntity
{
    [Table("SysMenu")]
   public class SysMenu:SysLogBaseField
    {

        [Key]
        
        public int ID { get; set; }

        [Display(Name = "菜单名称")]
        
        public string Name { get; set; }

        [Display(Name = "菜单图标")]
        public string IconCss { get; set; }

   [Display(Name = "排序号")]
        public string SortNumber { get; set; }

        [Display(Name = "访问地址")]
       
        public string MenuUrl { get; set; }

        [Display(Name = "父菜单")]
       
        public int ParentID { get; set; }

        [Display(Name = "是否显示")]
        public bool IsShow { get; set; }

        [Display(Name = "是否禁用")]
        public bool BeLock { get; set; }
       
    }
}
